package com.guli.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.common.utils.R;
import com.guli.common.vo.MemberTo;
import com.guli.gulimall.member.entity.MemberEntity;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 会员
 *
 * @author wzh
 * @email sunlightcs@gmail.com
 * @date 2021-12-09 15:54:46
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    MemberEntity getMemberByToken(String token);

    R login(String username, String password);
}

